﻿using System;
using System.Collections.Generic;
using CodeCamp.Models.Shared;

namespace CodeCamp.Models.Schedule
{
  public class ScheduleIndexViewModel : SharedViewModel
  {
    public List<Timeslot> Timeslots { get; set; }

    public class Timeslot
    {
      public int TimeslotId { get; set; }
      public string Name { get; set; }
      public DateTime Date { get; set; }
      public DateTime StartTime { get; set; }
      public DateTime EndTime { get; set; }

      public List<Session> Sessions { get; set; }

      public class Session
      {
        public int SessionId { get; set; }
        public string Title { get; set; }

        public List<Presenter> Presenters { get; set; }

        public string Building { get; set; }
        public string Room { get; set; }
        public int RoomId { get; set; }

        public class Presenter
        {
          public int PressenterId { get; set; }
          public string Name { get; set; }
        }
      }
    }
  }
}